package com.myway.service.ibe;

import com.myway.dto.Result.SearchResult;
import com.myway.dto.domain.FlightCriteria;
import com.myway.dto.domain.SegmentAndPassengerParam;
import com.myway.dto.ibe_param.SegmentParam;

import java.util.List;

/**
 * Created by yufei on 2018/8/13.
 */
public interface SearchOneService {
    /**
     *
     * @param criteria
     * @param multiCabin 日历查询此参数设置为false，不是日历查询设置为true
     * @return
     */
    public SearchResult executeNew(FlightCriteria criteria, boolean multiCabin );

    public String execute(SegmentAndPassengerParam spp, boolean multiCabin );
}
